#include <stdio.h>
int main()
{
	char a = 'S';
	int b = 123;
	int bb = 1233;
	char *pa = &a;
	int *pb = &b;
	int *pbb = bb;
	printf("Value of a %c\n", *pa);
	printf("Value of b %d\n", *pb);
	printf("Value of bb %d\n", pbb);
	printf("pa addr is  %p\n", pa);
	printf("&a addr is  %p\n", &a);
	printf("pb addr is  %p\n", pb);
	printf("&b addr is  %p\n", &b);

	*pa = 'Y';
	*pb += 1311;
	printf("Value of a %c\n", *pa);
	printf("Value of b %d\n", *pb);
	printf("pa addr is  %p\n", pa);
	printf("&a addr is  %p\n", &a);
	printf("pb addr is  %p\n", pb);
	printf("&b addr is  %p\n", &b);

	printf("sizeof pa is %d\n", sizeof(pa));
	printf("sizeof pb is %d\n", sizeof(pb));
	return 0;
}
